<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/14 014
 * Time: 11:02
 */
namespace App\NewPizza;

class NYPizzaIngredientFactory implements PizzaIngredientFactory
{
    public function createDough()
    {
        // TODO: Implement createDough() method.
        return new ThinCrustDough();
    }

    public function createSauce()
    {
        // TODO: Implement createSauce() method.
        return new MarinaraSauce();
    }

    public function createCheese()
    {
        // TODO: Implement createCheese() method.
        return new ReggianoCheese();
    }

    public function createVeggies()
    {
        // TODO: Implement createVeggies() method.
        $veggies = array(new Garlic(),new Onion());
        return $veggies;
    }

    public function createPepperoni()
    {
        // TODO: Implement createPepperoni() method.
        return new SlicedPepperoni();
    }

    public function createClam()
    {
        // TODO: Implement createClam() method.
        return new FreshClams();
    }
}